//
//  HYPCImageHeaderView.m
//  XPlayer
//
//  Created by liguoqing on 2023/9/14.
//

#import "HYPCImageHeaderView.h"

@implementation HYPCImageHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if(self){
        self.contentView.backgroundColor = kClearColor;
        [self.contentView addSubview:self.guideImgView];
        [self.guideImgView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(kLeftMargin_15);
            make.top.mas_equalTo(5);
            make.right.mas_equalTo(-kLeftMargin_15);
            make.bottom.mas_equalTo(-5);
        }];
    }
    return self;
}

- (UIImageView *)guideImgView
{
    if(!_guideImgView){
        _guideImgView = [[UIImageView alloc]init];
        _guideImgView.backgroundColor = kOrangeColor;
        _guideImgView.layer.cornerRadius = 4.0;
        _guideImgView.layer.masksToBounds = YES;
    }
    return _guideImgView;
}



@end
